﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rüdiger_Baustein4
{
    class cNicht : cBaustein
    {
        public cNicht(int IAnzEin, string StrName)
            : base(IAnzEin, StrName/*+=" UND-Baustein"*/)
        {

            strName = "Nicht-Baustein " + strName;

        }
        internal void calc()
        {
            if (bEingaenge[I] == true)
            {
                bAus = false;

            }
            else { 
                bAus = true;
            }
        }
    }
}